package com.andy.beef.ui.main.bean

import java.io.Serializable

/**
 *作者:wangyuyuan
 *创建时间:2021/3/24 9:30 AM
 *描述:牛只数量分类统计
 */
class CattleQtyBean : Serializable {
    val adultQty: Int = 0//成年牛数量
    val bredQty: Int = 0//育成牛数量
    val calfQty: Int = 0//犊牛数量
    val totalQty: Int = 0//牧场存栏数量
    val youngQty: Int = 0//青年牛数量

    //月龄分段统计
    var monthAgeStatistic = MonthAgeStatistic()
}

/**
 * lessThanThree (integer, optional): 0,
moreThanTwelve (integer, optional): 12月龄以上(头) ,
sixToTwelve (integer, optional): 6,
threeToSix (integer, optional): 3
 */
data class MonthAgeStatistic(
    var cattleFarmId: Int = 0,
    var eightToThirteen: Int = 0,
    var lessThanThree: Int = 0,
    var moreThanThirteen: Int = 0,
    var sixToEight: Int = 0,
    var threeToSix: Int = 0
)